//
//  Featured_model1_CollectionViewCell.m
//  TodatPlay
//
//  Created by dllo on 16/8/31.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "Featured_model1_CollectionViewCell.h"

@interface Featured_model1_CollectionViewCell ()
@property (nonatomic, copy) imageItem image;
@end

@implementation Featured_model1_CollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self createTap];
}
- (void)createTap {
    UITapGestureRecognizer *imageTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(clickImageItem:)];
    self.imageViewOfImg.userInteractionEnabled = YES;
    [self.imageViewOfImg addGestureRecognizer:imageTap];
}
- (void)image:(imageItem)image {
    self.image = image;
}
- (void)clickImageItem:(UITapGestureRecognizer *)tap {
    self.image(tap);
}

@end
